import Taro from "@tarojs/taro";
/**
 * 获取系统信息
 */
export var systemInfo = Taro.getSystemInfoSync();
/**
 * 判断平台是否为iOS
 */
export var IS_IOS = /iOS/i.test(systemInfo.system);
/**
 * 判断平台是否为Android
 */
export var IS_ANDROID = /Android/i.test(systemInfo.system);
/**
 * 判断平台是否为Mac
 */
export var IS_MAC = /mac/i.test(systemInfo.system);
/**
 * 获取系统版本
 */
export var APP_VERSION = systemInfo.version;
/**
 * 判断设备是否为全面屏设备
 */
var safeArea = systemInfo.safeArea || { bottom: 0 };
var isFullscreenDevie = false;
if (systemInfo.screenHeight > safeArea.bottom) {
    isFullscreenDevie = true;
}
export var IS_FULLSCREEN_DEVICE = isFullscreenDevie;
